package org.zju.demo.model.request;

/**
 * Created by admin on 2015/8/25.
 */
public class RequestProductDetailJson extends BasicRequestJson{
    private int product_id;

    private String time;

    private double longitude;

    private double latitude;

    private String iamgeSize;

    public int getProduct_id() {
        return product_id;
    }

    public void setProduct_id(int product_id) {
        this.product_id = product_id;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public String getIamgeSize() {
        return iamgeSize;
    }

    public void setIamgeSize(String iamgeSize) {
        this.iamgeSize = iamgeSize;
    }

    @Override
    public String toString() {
        return String.format("%s %d %s %f %f\n", super.getUsername(), product_id, time, longitude, latitude);
    }
}
